<?php
	$http_prefix = 'http://';
	$servername = $_SERVER["SERVER_NAME"];
	$serverpath = $http_prefix . $servername . '/';
	//$siteroot = '';
	$siteroot = 'MV/mvservicossite/Deploy4/';
	$prefix = $serverpath . $siteroot;
	
	$images_path =  $prefix . 'images/';

	function getImageUrl($imageName)
	{
		global $images_path;		
		return $images_path . $imageName;
	}
	
	$pages_path = $prefix . 'pages/';
	$contato_path = $pages_path . 'contato.php';
	$fotos_path = $pages_path . 'fotos.php';
	$servicos_path = $pages_path . 'servicos.php';	
	$empresa_path = $prefix . 'index.php';
	
	$dir_prefix = $_SERVER["DOCUMENT_ROOT"] . '/' . $siteroot;
	//$dir_prefix = '/home/a1082833/public_html/' . $siteroot;
	
	define("TEMPLATE_PATH", $dir_prefix . "php/template.php");
	define("TOP_PATH", $dir_prefix . "parts/top.php");
	define("FOOTER_PATH", $dir_prefix . "parts/footer.php");
	
	
	$css_path = $prefix . 'styles/';
	function getCssUrl($cssName)
	{
		global $css_path;
		return $css_path . $cssName;
	}
	
	$script_path = $prefix . 'scripts/';
	function getScriptUrl($scriptName)
	{
		global $script_path;
		return $script_path . $scriptName;
	}
	
	$sliderman_img_path = $prefix . 'img/';
	function getSlidermanImage($imageName)
	{
		global 	$sliderman_img_path;
		return $sliderman_img_path . $imageName;
	}
?>
